//
//  BaseControllerViewModel.m
//  YiCuiMiaoZhang
//
//  Created by Sings on 2019/3/20.
//  Copyright © 2018 益萃网络科技（中国）有限公司. All rights reserved.
//

#import "BaseControllerViewModel.h"

@implementation BaseControllerViewModel

- (instancetype) init {
    if (self = [super init]) {
        self.presentaion_ModalPresentaionStyle = UIModalPresentationFullScreen;
    }
    return self;
}

- (NavServices *)navServices {
    return [[MZRouting sharedInstance] navServices];
}

- (NetWorkingServices *)netWorkingServices {
    return [[MZRouting sharedInstance] netWorkingServices];
}

- (void)initialize {
}

- (void)refreshFun {
    if (self.refresh) { self.refresh(); }
}

@end

@implementation MultiControllersViewModel

- (NSArray<BaseControllerViewModel *> *)upperLayerControllerViewModels {

    // Override in sub classes

    return nil;
}

@end
